package com.travel.convert;

import com.travel.pojo.Room;
import com.travel.vo.RoomVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoomConverter {
    RoomConverter INSTANCE = Mappers.getMapper(RoomConverter.class);

    Room voToEntity(RoomVo roomVo);

    RoomVo entityToVo(Room room);
}
